<script setup>
import NavBar from "@/components/NavBar.vue";
import img from "@/assets/success.png"
import {useRouter} from "vue-router";
const router = useRouter()
const lookFn = () => {
  router.push('/InventoryList')
}
const continueFn = () => {
  router.push('/InStock')
}
</script>

<template>
  <div class="overflowHidden">
    <NavBar title="产品入库"></NavBar>
    <div class="height flex flex-col items-center justify-center text-center">
      <van-image
          width="120"
          height="110"
          round
          :src="img"
      />
      <div class="text-[14px] text-[#666] marginTop">产品入库成功</div>
      <div class="marginTop px-[20px] box-border width" @click="lookFn">
        <van-button type="primary" round  size="large" plain>查看入库单</van-button>
      </div>
      <div class="marginTop px-[20px] box-border width" @click="continueFn">
        <van-button type="primary" round  size="large">继续开单</van-button>
      </div>
    </div>
  </div>
</template>

<style scoped>

</style>